
//
//  HWHeaderTableViewCell.m
//  家校互通
//
//  Created by 李赛 on 15/5/24.
//  Copyright (c) 2015年 姬鑫宇. All rights reserved.
//

#import "HWHeaderTableViewCell.h"

@implementation HWHeaderTableViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
-(void)setBlackBoardModel:(BlackBoardDetail *)blackBoardModel
{
    [_headerImage sd_setImageWithURL:[NSURL URLWithString:blackBoardModel.icon] placeholderImage:[UIImage imageNamed:@"icon1.jpg"]];
    _topLB.alpha=blackBoardModel.is_top;
    _nameLB.text = blackBoardModel.nickname;
    _timeLb.text = blackBoardModel.create_time;

}
@end
